<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <input type="hidden" name="pid"  value="{$pid|default=''}">
        <div class="layui-form-item">
            <label class="layui-form-label">字典名称</label>
            <div class="layui-input-block">
                <input disabled type="text"  class="layui-input"  placeholder="请输入字典名称" value="{$dict.title|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">字典类型</label>
            <div class="layui-input-block">
                <input disabled type="text"  class="layui-input"  placeholder="请输入字典类型" value="{$dict.type|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">数据名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入数据名称" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">数据值</label>
            <div class="layui-input-block">
                <input type="text" name="value" class="layui-input" lay-verify="required" placeholder="请输入数据值" value="">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea" placeholder="请输入备注"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="0">
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
